package com.oak.acorn;

import com.oak.acorn.geometry.Circle;
import com.oak.acorn.geometry.Shape;

import java.awt.*;

/**
 * Hello world!
 */
public class App {

    public static void main(String[] args) {
        System.out.println("Hello World!");
        Shape shape;
        shape=new Circle();
        shape.setColor(Color.BLUE);
        someDraw(shape);
    }

    private static void someDraw(Shape shape) {
        System.out.println("Color is " + shape.getColor());
        shape.draw();
    }
}
